package com.cy.pj.brand.service;

import com.cy.pj.brand.pojo.Brand;

import java.util.List;

public interface BrandService {
    /*查询*/
    List<Brand> findBrand(String name);
    /*删除*/
    Integer deleteById(Integer id);

    //添加
    Integer addBrand(Brand brand);
    /*修改*/
    Brand findById(Integer id);
    Integer updateBrand(Brand id);
}
